package br.com.gemepde.domain.filter;


public class AlunoFilter {
	
	private Long idFilter;
	private String matriculaFilter;
	private String nomeFilter;

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((idFilter == null) ? 0 : idFilter.hashCode());
		result = prime * result
				+ ((matriculaFilter == null) ? 0 : matriculaFilter.hashCode());
		result = prime * result
				+ ((nomeFilter == null) ? 0 : nomeFilter.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AlunoFilter other = (AlunoFilter) obj;
		if (idFilter == null) {
			if (other.idFilter != null)
				return false;
		} else if (!idFilter.equals(other.idFilter))
			return false;
		if (matriculaFilter == null) {
			if (other.matriculaFilter != null)
				return false;
		} else if (!matriculaFilter.equals(other.matriculaFilter))
			return false;
		if (nomeFilter == null) {
			if (other.nomeFilter != null)
				return false;
		} else if (!nomeFilter.equals(other.nomeFilter))
			return false;
		return true;
	}

	public AlunoFilter() {
	}
	
	public Long getIdFilter() {
		return idFilter;
	}
	public void setIdFilter(Long idFilter) {
		this.idFilter = idFilter;
	}
	public String getMatriculaFilter() {
		return matriculaFilter;
	}
	public void setMatriculaFilter(String matriculaFilter) {
		this.matriculaFilter = matriculaFilter;
	}
	public String getNomeFilter() {
		return nomeFilter;
	}
	public void setNomeFilter(String nomeFilter) {
		this.nomeFilter = nomeFilter;
	}
}
